From e647ffe80e270d75956ca21f36dd1daa35dded31 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sat, 10 Apr 2004 21:05:50 +0000 Subject: [PATCH] (WinMain): Let emacs environment default to parent. --- nt/runemacs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nt/runemacs.c b/nt/runemacs.c index cdd46a6008d..afa5340ef53 100644 --- a/nt/runemacs.c +++ b/nt/runemacs.c @@ -126,7 +126,7 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow) sec_attrs.bInheritHandle = FALSE; if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class, - GetEnvironmentStrings (), NULL, &start, &child)) + NULL, NULL, &start, &child)) { if (wait_for_child) { -- 2.30.2